
#include <iostream>
#include "Huawei.h"

Huawei::Huawei(int mid)
    : Merchant(mid, Commodity(3000, "手机", "Huawei"))
{

}

void Huawei::Receive(const Message& msg)
{
  std::cout << "----- Huawei官方旗舰店 -----" << std::endl;
  std::cout << "商家编号：" << Merchant::mid_ << std::endl;
  std::cout << "消息来自：" << msg.get_sender() << std::endl;
  std::cout << "消息内容：" << msg.get_msg() << std::endl;
}
